//
//  main.m
//  App
//
//  Created by xiongzenghui on 2018/12/28.
//  Copyright © 2018 xiongzenghui. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "Dog.hpp"

//main函数执行前被执行的函数
void __attribute__ ((constructor)) beginfunc()
{
    printf("[XZH] beginfunc()\n");
}

//main函数执行完毕后被执行的函数
void __attribute__ ((destructor)) endfunc()
{
    printf("[XZH] endfunc()\n");
}

int main(int argc, char * argv[]) {
    printf("[XZH] main()\n");
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
}
